import request from '/@/utils/request';
//添加行程单内容
export function addTripContent(data?: any) {
    return request({
        url: '/trip/tripContent/addTripContent',
        method: 'post',
        data,
    });
}
//通过行程单id查询行程单内容
export function selectByTripId(params?: any) {
    return request({
        url: '/trip/tripContent/trip-content/getByTripId?tripId='+params,
        method: 'get',
    })
}
//删除行程单内容
export function deleteTripContent(params?: any) {
    return request({
        url: '/trip/tripContent/deleteTripContent?tripContentId='+params,
        method: 'delete',
    })
}
//修改行程单内容
export function updateTripContent(data?: any) {
    return request({
        url: '/trip/tripContent/updateTripContent',
        method: 'put',
        data,
    });
}
